# -*- coding: UTF-8 -*- 
__author__ = 'xiang'

from django.conf.urls import *

from . import views

app_name = 'blog'

urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'index\.html$', views.index, name='index'),
    url(r'^about\.html$', views.about,name='about'),
    url(r'^contact\.html$', views.contact, name='contact'),
    url(r'^full-width\.html$', views.full_width, name='full_width'),
    url(r'^post/(?P<pk>[0-9]+)/$', views.detail, name='detail'),
    url(r'^archives/(?P<year>[0-9]{4})/(?P<month>[0-9]{1,2})/$', views.archives, name='archives'),
    url(r'^category/(?P<pk>[0-9]+)/$', views.category, name='category'),
]


